//
//  BCStuffThirdCollectionViewCell.h
//  BangcaiBuy
//
//  Created by Liang Zhang on 16/6/25.
//  Copyright © 2016年 BCB. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum{
    BCCellStyle0,
    BCCellStyle1,
    BCCellStyle2,
    BCCellStyle3,
} BCellStyle;

//刷新协议
@protocol actionDelegate <NSObject>

- (void)reloadData;
- (void)pushWithData:(NSDictionary*)datadic;

@end

@interface BCStuffThirdCollectionViewCell : UICollectionViewCell
@property(nonatomic, strong)UIImage *stuffImg;
@property(nonatomic, strong)UIButton *plus;
@property(nonatomic, strong)UIButton *minus;
@property(nonatomic, retain)NSString *name;
@property(nonatomic, assign)NSInteger amount;
@property(nonatomic, assign)CGFloat price;
@property(nonatomic, copy)NSArray *sizeArr;
@property (copy, nonatomic) void(^reddot)();
@property(nonatomic, assign)id<actionDelegate>delegate;
@property(nonatomic, assign)BOOL minusHidden;                       //按钮隐藏BOOL值
@property(nonatomic, assign)BCellStyle cellStyle;
@property(nonatomic, retain)NSString *detailInfo;
@property(nonatomic, retain)NSDictionary *data;


+ (instancetype)cellWithCollectionView:(UICollectionView *)collectionView;
@end
